Fixed the test
authorKalita Alexey <kalita.alexey@outlook.com>
Fri, 20 Jan 2017 06:50:13 +0000 (09:50 +0300)
committerKalita Alexey <kalita.alexey@outlook.com>
Fri, 20 Jan 2017 06:50:13 +0000 (09:50 +0300)
tests/build.rs

index 549ae35e8758a9bf5cc81031165134a133131ab5..ced65b219ac61e8d01d4dbe78d1d8e5c88580f9c 100644 (file)
@@ -1952,6 +1952,10 @@ fn example_as_dylib() {
 
 #[test]
 fn example_as_proc_macro() {
+    if !is_nightly() {
+        return;
+    }
+
     let p = project("foo")
         .file("Cargo.toml", r#"
             [package]